package cn.ondraw.ragflow.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;
import java.util.List;

/**
 * 应用市场
 *
 * @author Lion Li
 * @date 2024-03-19
 */
@Data
@EqualsAndHashCode()
@JsonIgnoreProperties(ignoreUnknown = true)
public class ChatsAssistant {

    @Serial
    private static final long serialVersionUID = 1L;

    @JsonProperty("avatar")
    private String avatar;
    @JsonProperty("create_date")
    private Date createDate;
    @JsonProperty("create_time")
    private Date createTime;
    @JsonProperty("datasets")
    private List<DataSet> datasets;
    private String description;
    @JsonProperty("do_refer")
    private String doRefer;
    @JsonProperty("id")
    private String id;
    @JsonProperty("language")
    private String language;
    @JsonProperty("llm")
    private LLM llm;
    @JsonProperty("name")
    private String name;
    @JsonProperty("prompt")
    private Prompt prompt;
    @JsonProperty("prompt_type")
    private String promptType;
    @JsonProperty("status")
    private String status;
    @JsonProperty("tenant_id")
    private String tenantId;
    @JsonProperty("top_k")
    private int topK;
    @JsonProperty("update_date")
    private Date updateDate;
    @JsonProperty("update_time")
    private Date updateTime;

}
